package swing_framework; 

import java.awt.BorderLayout;

import javax.swing.JPanel;

import processing_model.Display3D;

public class VisulizationPanel {

	/**
	 * @param args
	 */
	private JPanel rightPanel;
	private Display3D model;
	public JPanel createVisualizationPanel(){
		rightPanel=new JPanel();
		rightPanel.setLayout(new BorderLayout());
		

		model=new Display3D();
		rightPanel.add(model,BorderLayout.CENTER);
		model.init();

		return rightPanel;
	}
	public Display3D get3DModel()
	{
		return model;
	}
}
 